home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / devel / tcl / tclx7_31.z / tclx7_31 / tcldev / tclX7.3a-p1 / tksrc / tkXmain.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-11-25  |  1.3 KB  |  47 lines

  1. /*
  2.  * tkXmain.c
  3.  *
  4.  * Main for wishx.  This is usable for C or C++.
  5.  *-----------------------------------------------------------------------------
  6.  * Copyright 1991-1993 Karl Lehenbauer and Mark Diekhans.
  7.  *
  8.  * Permission to use, copy, modify, and distribute this software and its
  9.  * documentation for any purpose and without fee is hereby granted, provided
  10.  * that the above copyright notice appear in all copies.  Karl Lehenbauer and
  11.  * Mark Diekhans make no representations about the suitability of this
  12.  * software for any purpose.  It is provided "as is" without express or
  13.  * implied warranty.
  14.  *-----------------------------------------------------------------------------
  15.  * $Id: tkXmain.c,v 3.0 1993/11/19 07:01:30 markd Rel $
  16.  *-----------------------------------------------------------------------------
  17.  */
  18.  
  19. #include "tclExtend.h"
  20.  
  21.  
  22. /*
  23.  *----------------------------------------------------------------------
  24.  *
  25.  * main --
  26.  *
  27.  *    Main program for Wishx.
  28.  *
  29.  *----------------------------------------------------------------------
  30.  */
  31.  
  32. #ifdef __cplusplus
  33. int
  34. main (int     argc,
  35.       char  **argv)
  36. #else
  37. int
  38. main(argc, argv)
  39.     int argc;                /* Number of arguments. */
  40.     char **argv;            /* Array of argument strings. */
  41. #endif
  42. {
  43.     TkX_Wish (argc, argv);
  44.  
  45.     return 0;  /* Never exits here: make the compiler happy */
  46. }
  47.